﻿using UnityEngine;
using System.Collections;

public class ending : MonoBehaviour {



	// Use this for initialization
	void OnCollisionEnter2D (Collision2D c) 
	{
		
		if (c.gameObject.tag=="Player")
			
		{
			Application.LoadLevel("TheEnd");
		}

	}

}





	